package com.ciei.dpagm.controller;

import com.alibaba.fastjson.JSONObject;
import com.ciei.dpagm.common.controller.BaseController;
import com.ciei.dpagm.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class AreaController extends BaseController {
	@Autowired
	private AreaService areaService;


	/**
	/**
	 * 加载区域数据，
	 * @param
	 * @author pp
	 * @return
	 */
	@RequestMapping("vue/area/load")
	@ResponseBody
	public JSONObject loadAreaVue(@RequestBody JSONObject jsonObject) {

		return areaService.loadAreaVue(jsonObject);
	}
	
}
